﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.Public.Model
{
    public class PublicAlbumImg
    {
        #region Model
        private int _id;
        private int _albumid = 0;
        private string _name = "";
        private int _userid = 0;
        private int _size = 0;
        private bool _isdelete = false;
        private bool _isold = false;
        private string _url = "";
        private DateTime _createtime = DateTime.Now;
        private string _title = "";
        private string _extension = "";
        private string _prefix = "";

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }
        public string Extension
        {
            get { return _extension; }
            set { _extension = value; }
        }
        public string Prefix
        {
            get { return _prefix; }
            set { _prefix = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 相册ID
        /// </summary>
        public int AlbumId
        {
            set { _albumid = value; }
            get { return _albumid; }
        }
        /// <summary>
        /// 图片名
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 商家编号
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 图片大小
        /// </summary>
        public int Size
        {
            set { _size = value; }
            get { return _size; }
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 是否为旧图片导入过来
        /// </summary>
        public bool IsOld
        {
            set { _isold = value; }
            get { return _isold; }
        }
        /// <summary>
        /// 旧图片完整链接地址
        /// </summary>
        public string Url
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        #endregion Model
    }
}
